#include<bits/stdc++.h>
using namespace std;
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int a,s=0,d[100005]={0},f=0,g=0;
    cin>>a;
    for(int i=0;i<a;i++)
    {
        cin>>d[i];
    }
    sort(d,d+a);
    for(int i=0;i<a;i++)
    {
        f++;
        if(d[f]!=d[f-1])
        {
            if((g-(f-s))>=0)
              g=g;
            else
              g=f-s;
            s=f;
        }

    }
    cout<<g;
    return 0;
}
